//
//  UILabel+XMExtension.m
//  sinaWeiBo
//
//  Created by 孟发 on 4/9/16.
//  Copyright © 2016 夏孟发. All rights reserved.
//

#import "UILabel+XMExtension.h"

@implementation UILabel (XMExtension)


+ (instancetype)setupLabel:(NSString *)title {
    UILabel *messageLabel = [[UILabel alloc] init];
    messageLabel.text = title;
    messageLabel.textColor = [UIColor darkGrayColor];
    messageLabel.font = [UIFont systemFontOfSize:14];
    messageLabel.numberOfLines = 0;
    messageLabel.textAlignment = NSTextAlignmentCenter;
    return messageLabel;
}

@end
